<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>用户展示</title>
</head>
<body>

<div id="button">123</div>
<script src="/webjars/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
    $(function(){
        $("#button").click(function(){
            alert("用户点击按钮")
        });
    });
</script>
</body>
</html>